package com.testing.hibernateapp.service;

import java.io.Serializable;
import java.util.Collection;

import org.hibernate.Session;

public interface UniversalHibernateDAO<T> {

	Collection<T> retrieve();

	T retrieve(Serializable id);

	T save(T t);

	Session getSession();

	void setSession(Session session);

	Class getObjectClass();

	void setObjectClass(Class objectClass);

}